package com.edu.juc.cas.bean;

import java.util.Arrays;
import java.util.concurrent.atomic.AtomicInteger;

public class MyNumber {
    private final AtomicInteger atomicInteger = new AtomicInteger();

    public void addI() {
        atomicInteger.getAndIncrement();
    }

    public int get() {
        return atomicInteger.get();
    }

    public static void main(String[] args) {

    }
}
